<%@page language="java"%>
<%@page contentType="text/html"%>
<%@page import="java.util.*, descriptor.*"%>

<jsp:include page="compsup_generic_pre.jsp" >
	<jsp:param name="pagesubtitle" value="Edit a student feedback" />
</jsp:include>

	<p>
		<jsp:useBean id="student" class="descriptor.StudentDescriptor" scope="request" />
		<p>Student : <%= student.getFirstName() %> <%= student.getSurName() %></p>
		<jsp:useBean id="degree" class="descriptor.DegreeDescriptor" scope="request" />
		<p>Degree : <a href="companySup?action=degrees_more&degreeId=<%=  degree.getId() %>"><%= degree.getName() %></a></p>
		<form method="POST" action="companySup">
			<p>Feedback:</p>
			<jsp:useBean id="feedback" class="descriptor.FeedbackDescriptor" scope="request" />
			<p><textarea name="infos" rows="15" cols="30"><%= feedback.getInfos() %></textarea></p>
			<input type="hidden" name="studentId" value="<%= student.getId() %>" />
			<input type="hidden" name="action" value="students_more" />
			<input type="submit" name="Edit">
		</form>
	</p>
	
<jsp:include page="compsup_generic_post.jsp" ></jsp:include>		